<?php
/**
 * Created by PhpStorm.
 * User: lulanyin@qq.com
 * DateTime: 2016/1/13 11:37
 * Web: http://lanyin.lu
 */
header("Content-type: text/html; charset=utf-8");
require_once  "./DB.php";
DB::init([
    'default' => [
        'driver'    => 'mysql',
        'host'      => '127.0.0.1',
        'port'      => '3306',
        'user'      => 'root',
        'pass'      => '123456',
        'database'  => 'ak2',
        'prefix'    => 'ak_'
    ],
    'read' => [

    ],
    'write' => [

    ]
]);
/*
$query = DB::from('user')->increment('money')->compileToQueryString('update');

echo $query;
*/